package com.jrx.anytxn.transaction.service;

import com.jrx.anytxn.common.exception.TxnException;
import com.jrx.anytxn.transaction.bean.DealIntrBean;
import com.jrx.anytxn.transaction.bean.IntrAccuBean;

public interface IInterestCalculateService {

    /**
     * 每日计息处理
     * 以单个计息账户为基础，计算利息，并记录到计息账户上
     *
     * @param dealIntrBean
     */
    IntrAccuBean calculateInterest(DealIntrBean dealIntrBean) throws TxnException;

}
